FROM alpine:latest
RUN echo "http://mirrors.aliyun.com/alpine/v3.13/main/" > /etc/apk/repositories \
    && echo "http://mirrors.aliyun.com/alpine/v3.13/community/" >> /etc/apk/repositories \
    && apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo "Asia/Shanghai" > /etc/timezone \
    && apk del tzdata
COPY build /data
WORKDIR /data/
RUN cp -R /data/ /data_bf/ \
    && chmod +x /data/start.sh
ENTRYPOINT [ "/data/start.sh" ]
